<template>
	<div class="home nav p-2">
			<div @click='clicks'>点我1111 222333</div>
	      <mt-footer></mt-footer>
	      <p class="name">100px</p>
	      <div @click='jump'>去登陆</div>
	      
	      
	</div>
</template>

<script>
export default {
  data() {
    return {
      name:'zhang'
    }
  },
  created() {
		console.log('created')
  },
  methods: {
		clicks(){
			alert('isme')
		},
		jump(){
			this.$router.push({path:'login'})
		}
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
 .name{font-size: 100px;}
</style>
